package com.android.gufengmall.bean;

import com.ocnyang.cartlayout.bean.ChildItemBean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

@Entity
public class OrderBean extends ChildItemBean {

    @Id(autoincrement = true)
    private Long id;

    private int orderId;
    private double orderPrice;
    private String orderInfo;
    private String orderName;
    private int orderAmount = 1;
    private String orderImgShop;

    @Generated(hash = 983825055)
    public OrderBean(Long id, int orderId, double orderPrice, String orderInfo,
            String orderName, int orderAmount, String orderImgShop) {
        this.id = id;
        this.orderId = orderId;
        this.orderPrice = orderPrice;
        this.orderInfo = orderInfo;
        this.orderName = orderName;
        this.orderAmount = orderAmount;
        this.orderImgShop = orderImgShop;
    }

    @Generated(hash = 1725534308)
    public OrderBean() {
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(double orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(String orderInfo) {
        this.orderInfo = orderInfo;
    }

    public String getOrderName() {
        return this.orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public int getOrderAmount() {
        return this.orderAmount;
    }

    public void setOrderAmount(int orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getOrderImgShop() {
        return this.orderImgShop;
    }

    public void setOrderImgShop(String orderImgShop) {
        this.orderImgShop = orderImgShop;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
